<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>选车-浙江星全汽车服务有限公司</title>      	
	<link rel="icon" href="" type="image/x-icon">
  <meta name="keywords" content="星全,吉利" /> 
  <meta name="description" content="浙江星全汽车服务有限公司公司以提升顾客价值为使命，致力于缩短汽车行业的交易环节，提升交易效率， 降低客户购买成本。" /> 
	<link rel="stylesheet" href="/public/static/index/css/main_d612930.css">
    <link rel="stylesheet" type="text/css" href="/public/static/index/css/listpage_f4e0697.css">
    <link rel="stylesheet" type="text/css" href="/public/static/index/css/newxuanc.css">
    <script src="/public/static/index/js/jquery-3.1.1.min.js"></script> 

</head>
  <body>

  <div class="container">
<nav id="nav" class="bg-main container-layout">
	<div class="container">
		<a href="/" target="_self"><img src="/public/static/index/images/starLOGO.png" class="float-left">
		</a>
	<ul class="list-inline float-left"> 
     <li><a href="/" >首页</a></li> 
     <li><a href="/index/index/brand" >选车</a></li> 
     <li><a href="/index/index/contact" >联系我们</a></li> 
     <li><a href="/index/index/faq" >FAQ</a></li> 
    </ul> 
		
	</div>
</nav>

<div class="listpage-top-nav">
  <p><a href="/">首页</a>&gt;<a>车型</a></p>
</div><div class="listpage-warp">
    <div class="listpage-main">
<div class="listpage-left-nav">
  <div class="left-nav-padding">
    <div class="left-nav-list brand"><img src="/public/static/index/images/ico_03.png"><span>品牌</span></div>
    <ul class="list-tag car-logo">
    	<?php 
    	if(isset($brandList) && $brandList != null && is_array($brandList) && count($brandList) > 0) {
    		foreach ($brandList as $brand) {
    			if ($brand['id'] == $productList['brandId']) {
					echo "<li style='cursor:pointer;' class='tagcur'>";
    			} else {
    				echo "<li style='cursor:pointer;'>";
    			}
    			echo '<a data-bid="'.$brand['id'].'" onclick="getBrand('.$brand['id'].')" title="'.$brand['name'].'">';
    			echo '<img src="/public/uploads/'.$brand['url'].'" alt="'.$brand['name'].'">';
				echo "</a>";
    			echo "</li>";
    		}
    	}
    	?>
    </ul>

  </div>
</div>
<div class="listpage-right-nav">

  <div class="right-nav-title">
	<div class="title-padding clearfix car-series-select">
		<div class="title-padding">
			<?php
				if (isset($productList['brandId']) && $productList['brandId'] != null && !empty($productList['brandId'])) {
					echo '<div class="div3">';
					echo '<a class="a1 brand" onclick="clearBrand()"><span class="car-name">';
					foreach ($brandList as $brand) {
						if ($brand['id'] == $productList['brandId']) {
							echo $brand['name'];
						}
					}
					echo '</span><img src="/public/static/index/images/close_hover_01.png"></a>';
					echo '</div>';
				}
			?>
	    	<div class="resault">
	    	<?php
	    		if (isset($productList['brandId']) && $productList['brandId'] != null && !empty($productList['brandId']) && isset($productList['brandCount']) && !empty($productList['brandCount'])) {
	    			foreach ($brandList as $brand) {
						if ($brand['id'] == $productList['brandId']) {
							echo $brand['name'];
						}
					}
	    			echo '车型<span>'.$productList['brandCount'].'</span>个';
	    		} else {
	    			echo '所有车型<span>'.$productList['count'].'</span>个';
	    		}
	    	?>
	    	</div>
    	</div>
	</div>
  </div>

  <div id="car-content-grid">
<style type="text/css">
    #rexiao{
		position: relative;
	}
	#rexiao-icon{
		position: absolute;
		width: 48px;
		height:50px;
        left: 0;
		top: 0;
	}
</style>
<div class="right-nav-list">

	<ul>
		<?php
		if (isset($productList['list']) && $productList['list'] != null && is_array($productList['list']) && count($productList['list']) > 0) {
			foreach ($productList['list'] as $product) {
				echo "<li>";
				echo '<div class="car-details">';
				echo '<div id="rexiao">';
				echo '<a href="/index/index/product?productId='.$product['id'].'">';
				echo '<img src="/public/uploads/'.$product['img'].'" alt="'.$product['name'].'" class="lazy">';
				echo '</a>';
				echo '</div>';
				echo '<div class="detail">';
				echo '<a href="/index/index/product?productId='.$product['id'].'">';
				echo '<p class="font18 carname">'.$product['name'].'</p>';
				echo '<p class="carinfo">'.$product['abstract'].'</p>';
				echo '</a>';
				echo '<p class="p2"><span class="mall-pice">星全价<i class="i-01">'.$product['star_price'].'</i>万</span>';
				echo '<span class="details-price" style="display: inline-block;">厂商指导价<i>￥'.$product['guidance_price'].'万</i></span>';
				echo '</p>';
				echo '</div>';
				echo '</div>';
				echo '</li>';
			}
		}
		?>
	</ul>
</div>

	<div class="pagination">
	  	<ul>
	  	<?php 
	  		$lastPage = $productList['lastPage'];
	  		$firstPage = $productList['firstPage'];
	  		if (isset($lastPage) && !empty($lastPage) && isset($firstPage) && !empty($firstPage)) {
	  			if (isset($productList['brandId']) && $productList['brandId'] != null && !empty($productList['brandId'])) {
	  				$url = "/index/index/brand?brandId=".$productList['brandId']."&page=";
	  			} else {
	  				$url = "/index/index/brand?page=";
	  			}
	  			$apage = $productList['thisPage'] - 1;
	  			$apage = $apage < 1 ? 1:$apage;
	  			echo '<li><a class="first" href="'.$url.$apage.'">上一页</a></li>';

	  			for ($i=1;$i<=$lastPage;$i++) {
	  				if ($i == $productList['thisPage']) {
	  					echo '<li><a class="cur" href="'.$url.$i.'">'.$i.'</a></li>';
	  				} else {
	  					echo '<li><a href="'.$url.$i.'">'.$i.'</a></li>';
	  				}
	  			}
	  			$next = $productList['thisPage'] + 1;
	  			$next = $next > $lastPage ? $lastPage :$next;
	  			echo '<li><a class="last" href="'.$url.$next.'">下一页</a></li>';
	  			echo '<li></li>';
	  		}
	  	?>
	  </ul>
	</div>
</div>
</div>
</div>
</div>
<footer id="footer">
	<div class="container">
		<div class="x9 float-left">

			<ul class="list-inline footer-nav">
                <li><a href="/index/index/introduce" >平台简介</a></li>
                <li class="split">|</li>
                <li><a href="/index/index/flow" >购车流程</a></li>
                <li class="split">|</li>
                <li><a href="/index/index/contact" >联系我们</a></li>
            </ul>
  			
			<div class="cooperation float-left">
				<h2>合作伙伴</h2>
				<ul class="list-inline">
					<li>
						<a href="#" ><img src="/public/static/index/images/fr/KDLOGO.png"></a>
					</li>
					<li>
						<a href="#" ><img src="/public/static/index/images/fr/JS.jpg"></a>
					</li>
					<li>
						<a href="#" ><img src="/public/static/index/images/fr/YD.jpg"></a>
					</li>					
					<li>
						<a href="#" >
							<img src="/public/static/index/images/fr/TBlogo.jpg"></a>
					</li>
					<li>
						<a href="#" ><img src="/public/static/index/images/fr/sls.jpg"></a>
					</li>
				</ul>
			</div>
			<div class="friend-links float-left">
				<h2>友情链接</h2>
				<ul class="list-inline">
					<li>
						<a href="http://www.gleagleev.com/" target="_blank">浙江吉合康电动汽车销售有限公司</a>
					</li>
					<li>
						<a href="http://www.ydsh150.com/" target="_blank">浙江巨声网络技术有限公司</a>
					</li>
				</ul>
			</div>
		</div>
		<div class="float-right">
	      <div class="float-left">
	        <img src="/public/static/index/images/starWei.jpg" width="100px" height="100px" />
	      </div>
	      <div class="float-right" style="padding:20px 0 10px 20px;">
	        <p style="font-size: 20px;padding-bottom: 5px;color:#7a7a7a;">扫描二维码</p>
	        <p style="font-size: 18px;padding-bottom: 5px;color:#7a7a7a;">关注星全微信公众号</p>
	      </div>
	      <div style="padding-top: 5px;clear: both;"> 
	        <p style="font-size: 18px;color:#7a7a7a;">客服电话：0571-28098514</p>
	      </div>
	    </div>
	     <div class="copyright x12" >
	      <div style="width:400px;margin:0 auto;padding:20px 0;">
	      <p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;font-size: 14px;">版权所有:浙江星全汽车服务有限公司 浙ICP备17054713号-1 </p>
	      </div>
	    </div> 
	    <div style="width:300px;margin:0 auto; padding:20px 0;"> 
	     <a style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"><p style="float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px; color:#939393;">技术支持：杭州诺巴哥科技有限公司</p></a> 
	    </div> 
	</div>
	
</footer>
  
</body></html>
<script type="text/javascript">
	function getBrand(id) {
		window.location.href = '/index/index/brand?brandId='+id;
	}

	function clearBrand() {
		window.location.href = '/index/index/brand';
	}
</script>